package cn.yuanqiao.cqbc.dataManageTreePath.service;
/**
 * @author 赵常飞
 * @date 2024/6/14 15:55
 */

import cn.yuanqiao.common.core.domain.TreeSelect;
import cn.yuanqiao.cqbc.dataManageTreePath.domain.DataManageTreePath;
import com.alibaba.fastjson2.JSONObject;

import java.util.List;
import java.util.Map;

/**
 *@Author: 赵常飞
 *@Date: 2024/6/14 15:55
 *@Description:
 *@Note:
 */

public interface IDataManageTreePathService {

    List<TreeSelect> getTreeList();


    String addPath(DataManageTreePath dataManageTreePath);

    List<DataManageTreePath> getPath(Long categoryId);

    int updateEnable(DataManageTreePath dataManageTreePath);

    String deletePath(Long pathId);

    String update(DataManageTreePath dataManageTreePath);

    List<Map<String,Object>> getList(JSONObject pathId);

    List<Map<String,String>> getshowFields(JSONObject json);

    void trans(JSONObject json) throws Exception;
    List<Map<String,String>> getQueryFields(JSONObject json);
}
